package org.database.filter.repository;

import java.util.List;

import org.database.filter.model.MySynsetWord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface MySynsetWordRepository  extends JpaRepository<MySynsetWord, Long>{
	@Query("FROM MySynsetWord WHERE synset_id = :synset_id")
	List<MySynsetWord> getSynsetWordBySynsetId(@Param("synset_id") long synset_id);
}
